/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.race.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.istep.common.persistence.DataEntity;

/**
 * 赛程团队Entity
 * @author CY
 * @version 2017-05-10
 */
public class RaceScheduleTeam extends DataEntity<RaceScheduleTeam> {
	
	private static final long serialVersionUID = 1L;
	private String scheduleId;		// 竞赛赛程id
	private String teamId;		// 竞赛团队id
	
	public RaceScheduleTeam() {
		super();
	}

	public RaceScheduleTeam(String id){
		super(id);
	}

	@Length(min=0, max=64, message="竞赛赛程id长度必须介于 0 和 64 之间")
	public String getScheduleId() {
		return scheduleId;
	}

	public void setScheduleId(String scheduleId) {
		this.scheduleId = scheduleId;
	}
	
	@Length(min=0, max=64, message="竞赛团队id长度必须介于 0 和 64 之间")
	public String getTeamId() {
		return teamId;
	}

	public void setTeamId(String teamId) {
		this.teamId = teamId;
	}
	
}